﻿using System;
using System.Collections.Generic;
using System.Text;

namespace GenericTypesAndInterface
{
    public class InvokeClass
    {
        public string GetClassName<T>(T item) where T : IClass
        {
            return item.GetClassName();
        }
    }
}